package com.cloud.pole.merchant.service;
import com.cloud.pole.common.util.jwt.JwtAuthenticationRequest;
import com.cloud.pole.merchant.model.entity.ShopMerchantUser;

public interface AuthService {
    String login(JwtAuthenticationRequest authenticationRequest) throws Exception;
    
    String refresh(String oldToken) throws Exception;
    
    boolean validate(String token) throws Exception;
   
    boolean checkUserName(String userName) throws Exception;
}
